classdef InputPort < MeasurementComponent.MachineUnit.IOPort.AbstractPort
    %INPUTPORT �˴���ʾ�йش����ժҪ
    %   �˴���ʾ��ϸ˵��
    
    properties
    end
    
    methods
        function obj = InputPort(device, name)
            obj@MeasurementComponent.MachineUnit.IOPort.AbstractPort(device, name, 'input');
        end
        
        function disp(obj)
            setting = obj.getCurrentSetting();
            infoStr = sprintf('Present Settings of [%s] Port:', obj.name);
            fprintf('%s\n%s\n', infoStr, repmat('-', 1, length(infoStr)));
            disp(struct2table(setting));            
        end
    end
end

